package com.ifonly.security;

/**
 * @author ifonly
 * @version 1.0 2016-01-12 15:04
 * @since JDK 1.6
 */
public class SecurityInfo<U, R, P> {

    //用户信息
    private U u;
    //角色信息
    private R r;
    //资源信息
    private P p;

    public SecurityInfo(U u, R r, P p) {
        this.u = u;
        this.r = r;
        this.p = p;
    }

    public U getU() {
        return u;
    }

    public R getR() {
        return r;
    }

    public P getP() {
        return p;
    }
}
